package com.vhuan.self_discipline_service.mapper.battery;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.vhuan.self_discipline_service.domain.battery.po.BatteryPeriodEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 电池表 mapper_period 接口
 * </p>
 *
 * @author xch
 * @since 2024-11-05
 */
@Mapper
public interface BatteryPeriodMapper extends BaseMapper<BatteryPeriodEntity> {
    int updateCapacityByIds(@Param("ew") LambdaQueryWrapper<BatteryPeriodEntity> wrapper, @Param("capacity") int capacity);
}
